<template>
    <view>
        <u-swiper class="sub-swipe" :list="list" height="400" keyName="image" @change="swipeChange">
        </u-swiper>
    </view>
</template>

<script>
    export default {
        props:{
            list: {
                type: Array,
                default: ()=>{
                    return []
                }
            }
        },        
        data() {
            return {
                cIndex: 0,
            };
        },
        methods: {
            swipeChange(index){
                this.cIndex = index
            },
        }
    }
</script>

<style scoped>
    .sub-swipe,
    .sub-swipe .pic{width:690rpx;height: 400rpx;background: #000233;border-radius: 12rpx;}

</style>

